<!doctype html>



  


<html class="theme-next mist use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />















  
  
  <link href="/blog/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/blog/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/blog/css/main.css?v=5.1.0" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="PlayFramework," />








  <link rel="shortcut icon" type="image/x-icon" href="/blog/favicon.ico?v=5.1.0" />






<meta name="description" content="1、新建PlayFramework项目1.1、下载SBT 我们先下载sbt。可以在sbt官网进行下载对应的压缩包 将下载的压缩包解压，并且在path环境中添加sbt的执行目录bin cd到项目目录，进行创建  1.2、创建Play项目在Play的官网，可以看到，新建PlayFramework的命令：创建Java版的Play项目sbt new playframework/play-java-seed">
<meta name="keywords" content="PlayFramework">
<meta property="og:type" content="article">
<meta property="og:title" content="PlayFramework之一：搭建开发环境">
<meta property="og:url" content="https://gitee.com/shuhao/2018/05/07/PlayFramework之一：搭建开发环境/index.html">
<meta property="og:site_name" content="Niki">
<meta property="og:description" content="1、新建PlayFramework项目1.1、下载SBT 我们先下载sbt。可以在sbt官网进行下载对应的压缩包 将下载的压缩包解压，并且在path环境中添加sbt的执行目录bin cd到项目目录，进行创建  1.2、创建Play项目在Play的官网，可以看到，新建PlayFramework的命令：创建Java版的Play项目sbt new playframework/play-java-seed">
<meta property="og:locale" content="zh-Hans">
<meta property="og:image" content="https://gitee.com/blog/images/playframework/package.png">
<meta property="og:image" content="https://gitee.com/blog/images/playframework/index.png">
<meta property="og:image" content="https://gitee.com/blog/images/playframework/scala_plug.png">
<meta property="og:image" content="https://gitee.com/blog/images/playframework/ide_import_1.png">
<meta property="og:image" content="https://gitee.com/blog/images/playframework/ide_import_2.jpg">
<meta property="og:image" content="https://gitee.com/blog/images/playframework/ide_import_3.jpg">
<meta property="og:image" content="https://gitee.com/blog/images/playframework/ide_import_4.jpg">
<meta property="og:image" content="https://gitee.com/blog/images/playframework/ide_create_1.jpg">
<meta property="og:image" content="https://gitee.com/blog/images/playframework/ide_create_2.jpg">
<meta property="og:image" content="https://gitee.com/blog/images/playframework/ide_create_3.jpg">
<meta property="og:updated_time" content="2018-05-07T07:02:08.688Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="PlayFramework之一：搭建开发环境">
<meta name="twitter:description" content="1、新建PlayFramework项目1.1、下载SBT 我们先下载sbt。可以在sbt官网进行下载对应的压缩包 将下载的压缩包解压，并且在path环境中添加sbt的执行目录bin cd到项目目录，进行创建  1.2、创建Play项目在Play的官网，可以看到，新建PlayFramework的命令：创建Java版的Play项目sbt new playframework/play-java-seed">
<meta name="twitter:image" content="https://gitee.com/blog/images/playframework/package.png">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/blog/',
    scheme: 'Mist',
    sidebar: {"position":"right","display":"post","offset":12,"offset_float":0,"b2t":false,"scrollpercent":false},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="https://gitee.com/shuhao/2018/05/07/PlayFramework之一：搭建开发环境/"/>





  <title> PlayFramework之一：搭建开发环境 | Niki </title>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  





  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?cb9f0585e406f878cb2f29c89ad3cdb7";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>










  
  
    
  

  <div class="container one-collumn sidebar-position-right page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/blog/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">Niki</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle">天道酬勤</p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/blog/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/blog/categories" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-categories"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/blog/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/blog/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
    <link itemprop="mainEntityOfPage" href="https://gitee.com/shuhao/blog/2018/05/07/PlayFramework之一：搭建开发环境/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Fang ShuHao">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/blog/images/head.jpg">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Niki">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                PlayFramework之一：搭建开发环境
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2018-05-07T11:31:46+08:00">
                2018-05-07
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/blog/categories/PlayFramework/" itemprop="url" rel="index">
                    <span itemprop="name">PlayFramework</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          

          

          

        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        <h2 id="1、新建PlayFramework项目"><a href="#1、新建PlayFramework项目" class="headerlink" title="1、新建PlayFramework项目"></a>1、新建PlayFramework项目</h2><h4 id="1-1、下载SBT"><a href="#1-1、下载SBT" class="headerlink" title="1.1、下载SBT"></a>1.1、下载SBT</h4><ol>
<li>我们先下载sbt。可以在<a href="https://www.scala-sbt.org/download.html" target="_blank" rel="external">sbt官网</a>进行下载对应的压缩包</li>
<li>将下载的压缩包解压，并且在path环境中添加sbt的执行目录bin</li>
<li>cd到项目目录，进行创建</li>
</ol>
<h4 id="1-2、创建Play项目"><a href="#1-2、创建Play项目" class="headerlink" title="1.2、创建Play项目"></a>1.2、创建Play项目</h4><p>在Play的官网，可以看到，新建PlayFramework的命令：<br>创建Java版的Play项目<br><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">sbt new playframework/play-java-seed.g8</span><br></pre></td></tr></table></figure></p>
<p>创建Scala版的Play项目<br><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">sbt new playframework/play-scala-seed.g8</span><br></pre></td></tr></table></figure></p>
<figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">E:\workspace_play&gt;sbt new playframework/play-java-seed.g8</span><br><span class="line"></span><br><span class="line">The Java Development Kit (JDK) installation you have is not up to date.</span><br><span class="line">sbt requires at least version 6+, you have</span><br><span class="line">version 0</span><br><span class="line"></span><br><span class="line">Please go to http://www.oracle.com/technetwork/java/javase/downloads/ and download</span><br><span class="line">a valid JDK and install before running sbt.</span><br><span class="line"></span><br><span class="line">Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0</span><br><span class="line">[info] Set current project to workspace_play (in build file:/E:/workspace_play/)</span><br><span class="line">[info] Set current project to workspace_play (in build file:/E:/workspace_play/)</span><br><span class="line"></span><br><span class="line">This template generates a Play Java project</span><br><span class="line"></span><br><span class="line">name [play-java-seed]: play_demo</span><br><span class="line">organization [com.example]: com.totoro.play</span><br><span class="line">scala_version [2.12.4]:</span><br><span class="line">play_version [2.6.13]:</span><br><span class="line">sbt_version [1.0.4]:</span><br><span class="line"></span><br><span class="line">Template applied in .\play_demo</span><br></pre></td></tr></table></figure>
<p>可以看到命令运行后会让你输入Play项目的名称，随后是包结构（默认为com.example），scala版本，paly版本以及sbt版本。这些都可以采用默认值。<br>至此项目就创建完成。<br><img src="/blog/images/playframework/package.png"></p>
<h4 id="1-3、启动Play项目"><a href="#1-3、启动Play项目" class="headerlink" title="1.3、启动Play项目"></a>1.3、启动Play项目</h4><p>执行run命令启动项目<br><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">sbt run</span><br></pre></td></tr></table></figure></p>
<figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">E:\workspace_play&gt;cd play_demo</span><br><span class="line"></span><br><span class="line">E:\workspace_play\play_demo&gt;sbt run</span><br><span class="line"></span><br><span class="line">The Java Development Kit (JDK) installation you have is not up to date.</span><br><span class="line">sbt requires at least version 6+, you have</span><br><span class="line">version 0</span><br><span class="line"></span><br><span class="line">Please go to http://www.oracle.com/technetwork/java/javase/downloads/ and download</span><br><span class="line">a valid JDK and install before running sbt.</span><br><span class="line"></span><br><span class="line">Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0</span><br><span class="line">[info] Loading settings from plugins.sbt,scaffold.sbt ...</span><br><span class="line">[info] Loading project definition from E:\workspace_play\play_demo\project</span><br><span class="line">[info] Updating &#123;file:/E:/workspace_play/play_demo/project/&#125;play_demo-build...</span><br><span class="line">[info] Done updating.</span><br><span class="line">[warn] Found version conflict(s) in library dependencies; some are suspected to be binary incompatible:</span><br><span class="line">[warn]  * org.webjars:webjars-locator-core:0.33 is selected over 0.32</span><br><span class="line">[warn]      +- com.typesafe:npm_2.12:1.2.1                        (depends on 0.32)</span><br><span class="line">[warn]      +- com.typesafe.sbt:sbt-web:1.4.3 (scalaVersion=2.12, sbtVersion=1.0) (depends on 0.32)</span><br><span class="line">[warn]  * org.codehaus.plexus:plexus-utils:3.0.17 is selected over &#123;2.1, 1.5.5&#125;</span><br><span class="line">[warn]      +- org.apache.maven:maven-settings:3.2.2              (depends on 3.0.17)</span><br><span class="line">[warn]      +- org.apache.maven:maven-repository-metadata:3.2.2   (depends on 3.0.17)</span><br><span class="line">[warn]      +- org.apache.maven:maven-aether-provider:3.2.2       (depends on 3.0.17)</span><br><span class="line">[warn]      +- org.apache.maven:maven-model:3.2.2                 (depends on 3.0.17)</span><br><span class="line">[warn]      +- org.apache.maven:maven-core:3.2.2                  (depends on 3.0.17)</span><br><span class="line">[warn]      +- org.apache.maven:maven-artifact:3.2.2              (depends on 3.0.17)</span><br><span class="line">[warn]      +- org.apache.maven:maven-settings-builder:3.2.2      (depends on 3.0.17)</span><br><span class="line">[warn]      +- org.apache.maven:maven-model-builder:3.2.2         (depends on 3.0.17)</span><br><span class="line">[warn]      +- org.sonatype.plexus:plexus-sec-dispatcher:1.3      (depends on 1.5.5)</span><br><span class="line">[warn]      +- org.eclipse.sisu:org.eclipse.sisu.plexus:0.0.0.M5  (depends on 2.1)</span><br><span class="line">[warn]  * com.google.guava:guava:23.0 is selected over &#123;10.0.1, 16.0, 20.0&#125;</span><br><span class="line">[warn]      +- io.methvin:directory-watcher:0.3.2                 (depends on 23.0)</span><br><span class="line">[warn]      +- com.fasterxml.jackson.datatype:jackson-datatype-guava:2.8.8 (depends on 10.0.1)</span><br><span class="line">[warn]      +- org.eclipse.sisu:org.eclipse.sisu.plexus:0.0.0.M5  (depends on 10.0.1)</span><br><span class="line">[warn]      +- com.spotify:docker-client:8.9.0                    (depends on 10.0.1)</span><br><span class="line">[warn] Run &apos;evicted&apos; to see detailed eviction warnings</span><br><span class="line">[info] Loading settings from build.sbt ...</span><br><span class="line">[info] Set current project to play_demo (in build file:/E:/workspace_play/play_demo/)</span><br><span class="line">[info] Updating &#123;file:/E:/workspace_play/play_demo/&#125;root...</span><br><span class="line">[info] Done updating.</span><br><span class="line">[warn] Found version conflict(s) in library dependencies; some are suspected to be binary incompatible:</span><br><span class="line">[warn]  * com.google.guava:guava:22.0 is selected over &#123;19.0, 20.0&#125;</span><br><span class="line">[warn]      +- com.typesafe.play:play_2.12:2.6.13                 (depends on 22.0)</span><br><span class="line">[warn]      +- org.reflections:reflections:0.9.11                 (depends on 20.0)</span><br><span class="line">[warn]      +- com.google.inject:guice:4.1.0                      (depends on 19.0)</span><br><span class="line">[warn]  * com.typesafe.akka:akka-stream_2.12:2.5.11 is selected over 2.4.20</span><br><span class="line">[warn]      +- com.typesafe.play:play-streams_2.12:2.6.13         (depends on 2.5.11)</span><br><span class="line">[warn]      +- com.typesafe.akka:akka-http-core_2.12:10.0.13 ()   (depends on 2.4.20)</span><br><span class="line">[warn]  * com.typesafe.akka:akka-actor_2.12:2.5.11 is selected over 2.4.20</span><br><span class="line">[warn]      +- com.typesafe.play:play_2.12:2.6.13                 (depends on 2.5.11)</span><br><span class="line">[warn]      +- com.typesafe.akka:akka-stream_2.12:2.5.11 ()       (depends on 2.5.11)</span><br><span class="line">[warn]      +- com.typesafe.akka:akka-slf4j_2.12:2.5.11 ()        (depends on 2.5.11)</span><br><span class="line">[warn]      +- com.typesafe.akka:akka-parsing_2.12:10.0.13 ()     (depends on 2.4.20)</span><br><span class="line">[warn] Run &apos;evicted&apos; to see detailed eviction warnings</span><br><span class="line"></span><br><span class="line">--- (Running the application, auto-reloading is enabled) ---</span><br><span class="line"></span><br><span class="line">[info] p.c.s.AkkaHttpServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9000</span><br><span class="line"></span><br><span class="line">(Server started, use Enter to stop and go back to the console...)</span><br></pre></td></tr></table></figure>
<p>可以看到项目已经在端口9000（默认端口）启动。<br>下图为访问localhost:9000截图：<br><img src="/blog/images/playframework/index.png"></p>
<h2 id="2、使用IDE新建运行Play项目"><a href="#2、使用IDE新建运行Play项目" class="headerlink" title="2、使用IDE新建运行Play项目"></a>2、使用IDE新建运行Play项目</h2><h4 id="2-1、下载Scala插件"><a href="#2-1、下载Scala插件" class="headerlink" title="2.1、下载Scala插件"></a>2.1、下载Scala插件</h4><p>Intellij需要先下载Scala插件，下载完成后即可import和create Play项目<br><img src="/blog/images/playframework/scala_plug.png"></p>
<h4 id="2-2-import已有的Play项目"><a href="#2-2-import已有的Play项目" class="headerlink" title="2.2 import已有的Play项目"></a>2.2 import已有的Play项目</h4><ol>
<li>我们将之前创建的play_demo项目引入到Intellij中<img src="/blog/images/playframework/ide_import_1.png"></li>
<li>创建一个新的Run配置-在主菜单里，选择Run-Edit-Configurations<img src="/blog/images/playframework/ide_import_2.jpg"></li>
<li>点击+来增加一个新的配置。选择SBT Task</li>
<li>在“task”输入框里，简单地输入“run”（name为该命令的名称，建议输入run）<img src="/blog/images/playframework/ide_import_3.jpg"></li>
<li>应用修改，并且选择Run来运行项目<img src="/blog/images/playframework/ide_import_4.jpg">
</li>
</ol>
<h4 id="2-3、新建Play项目"><a href="#2-3、新建Play项目" class="headerlink" title="2.3、新建Play项目"></a>2.3、新建Play项目</h4><img src="/blog/images/playframework/ide_create_1.jpg">
<img src="/blog/images/playframework/ide_create_2.jpg">
<img src="/blog/images/playframework/ide_create_3.jpg">

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>


    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/blog/tags/PlayFramework/" rel="tag"># PlayFramework</a>
          
        </div>
      

      
        
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/blog/2018/05/07/JavaNIO之二：Buffer/" rel="next" title="JavaNIO之二：Buffer">
                <i class="fa fa-chevron-left"></i> JavaNIO之二：Buffer
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/blog/2018/05/09/JavaNIO之三：通道Channel/" rel="prev" title="JavaNIO之三：通道Channel">
                JavaNIO之三：通道Channel <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
    </div>
  </div>

          
          </div>
          


          
  <div class="comments" id="comments">
    
      <div id="lv-container" data-id="city" data-uid="MTAyMC8zNjY5NS8xMzIzMA=="></div>
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="/blog/images/head.jpg"
               alt="Fang ShuHao" />
          <p class="site-author-name" itemprop="name">Fang ShuHao</p>
           
              <p class="site-description motion-element" itemprop="description"></p>
          
        </div>
        <nav class="site-state motion-element">
        
          
            <div class="site-state-item site-state-posts">
              <a href="/blog/archives">
                <span class="site-state-item-count">135</span>
                <span class="site-state-item-name">日志</span>
              </a>
            </div>
          

          
            <div class="site-state-item site-state-categories">
              <a href="/blog/categories">
                <span class="site-state-item-count">35</span>
                <span class="site-state-item-name">分类</span>
              </a>
            </div>
          

          
            <div class="site-state-item site-state-tags">
              <a href="/blog/tags">
                <span class="site-state-item-count">93</span>
                <span class="site-state-item-name">标签</span>
              </a>
            </div>
          

        </nav>

        

        <div class="links-of-author motion-element">
          
        </div>

        
        

        
        

        


      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#1、新建PlayFramework项目"><span class="nav-number">1.</span> <span class="nav-text">1、新建PlayFramework项目</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#1-1、下载SBT"><span class="nav-number">1.0.1.</span> <span class="nav-text">1.1、下载SBT</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#1-2、创建Play项目"><span class="nav-number">1.0.2.</span> <span class="nav-text">1.2、创建Play项目</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#1-3、启动Play项目"><span class="nav-number">1.0.3.</span> <span class="nav-text">1.3、启动Play项目</span></a></li></ol></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2、使用IDE新建运行Play项目"><span class="nav-number">2.</span> <span class="nav-text">2、使用IDE新建运行Play项目</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#2-1、下载Scala插件"><span class="nav-number">2.0.1.</span> <span class="nav-text">2.1、下载Scala插件</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#2-2-import已有的Play项目"><span class="nav-number">2.0.2.</span> <span class="nav-text">2.2 import已有的Play项目</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#2-3、新建Play项目"><span class="nav-number">2.0.3.</span> <span class="nav-text">2.3、新建Play项目</span></a></li></ol></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy; 
  <span itemprop="copyrightYear">2019</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Fang ShuHao</span>
</div>


<div class="powered-by">
  由 <a class="theme-link" href="https://hexo.io">Hexo</a> 强力驱动
</div>

<div class="theme-info">
  主题 -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Mist
  </a>
</div>


        

        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    
    
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  




  
  <script type="text/javascript" src="/blog/lib/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/blog/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/blog/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/blog/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/blog/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/blog/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/blog/js/src/utils.js?v=5.1.0"></script>

  <script type="text/javascript" src="/blog/js/src/motion.js?v=5.1.0"></script>



  
  

  
  <script type="text/javascript" src="/blog/js/src/scrollspy.js?v=5.1.0"></script>
<script type="text/javascript" src="/blog/js/src/post-details.js?v=5.1.0"></script>



  


  <script type="text/javascript" src="/blog/js/src/bootstrap.js?v=5.1.0"></script>



  



  




	





  





  





  
    <script type="text/javascript">
      (function(d, s) {
        var j, e = d.getElementsByTagName(s)[0];
        if (typeof LivereTower === 'function') { return; }
        j = d.createElement(s);
        j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
        j.async = true;
        e.parentNode.insertBefore(j, e);
      })(document, 'script');
    </script>
  



  
  

  

  

  

  


  

</body>
</html>
